package org.zfes.snowier.cloud.zbss.loan.util;

import java.io.File;

public class CloudStockConst {

	public static final String FILE_ROOT_PATH = "upload";
	public static final String ATTACHMENT_ROOT_PATH = FILE_ROOT_PATH + File.separator + "attachment";
	public static final String IMAGE_ROOT_PATH = "img";
	public static final String VIDEO_ROOT_PATH = "video";
	public static final String APP_KEY = "appRoot";

	public static final String desc = " desc ";
	public static final String asc = " asc ";
	public static final String page = "page";
	public static final String rows = "rows";
	public static final String sort = "sort";
	public static final String order = "order";
	public static final String start = "start";
	public static final String end = "end";
	public static final String size = "size";

	public static final String tree_table_rootnode_paarent_fk = "-1";
//	public static final String WebController = null;

	/**
	 * @title 状态常量
	 * @createTime 2017.11.2
	 * @author lizhen
	 */
	public static final class STATUS {

		public static final Byte ZERO = 0;
		public static final Byte ONE = 1;
		public static final Byte TWO = 2;
		public static final Byte THERE = 3;
		public static final Byte THREE = 3;
		public static final Byte FOUR = 4;
		public static final Byte FIVE = 5;
		public static final Byte SIX = 6;
		public static final Byte SEVEN = 7;
		public static final Byte EIGHT = 8;
		public static final Byte NINE = 9;
		public static final Byte TEN = 10;
	}
	
	/**
	 * @title 字符串类型常量
	 * @author caojf
	 * @date 2017年12月10日 下午7:08:23
	 */
	public static final class STRTING_TYPE {

		public static final String ZERO = "0";
		public static final String ONE = "1";
		public static final String TWO = "2";
		public static final String THREE = "3";
		public static final String FOUR = "4";
		public static final String FIVE = "5";
		public static final String SIX = "6";
		public static final String SEVEN = "7";
		public static final String EIGHT = "8";
		public static final String NINE = "9";
		public static final String TEN = "10";
		public static final String ELEVEN = "11";
		public static final String TWELVE = "12";
		public static final String THIRTEEN = "13";
	}

	public static final class YESNO {
		public static final String YES = "1";
		public static final String NO = "0";
	}

	public static final class ISACTIVATE {
		public static final String CANCEL = "0";
		public static final String ACTIVATE = "1";
	}

	public static final class ISENABLE {
		public static final String enabled = "1";
		public static final String disable = "0";
	}

	public static final class BIZCONFIGTYPE {
		public static final String BIZCONFIGTYPE_NO = "0";
		public static final String BIZCONFIGTYPE_YES = "1";
	}

	public static final class PHOTOTYPE{
		public static String BASEPHOTO="1";     //基本信息照片
		public static String UNIT_LOGO_PHOTO="2";     //单位logo图片
	}

	public static final class UploadFilenameType {
		public static String idCard = "1";// 身份证号
		public static String perNum = "2";// 学号
	}

	public static final class ISENABLED {
		public static final Boolean enabled = true;
		public static final Boolean disabled = false;
	}

	public static final class EXPORTOPRATYPE {
		/**
		 * 导入导出映射业务类型-复合字段
		 */
		public static String COMPLEX = "1";

	}

	/**
	 * @Author : Victor
	 * @Description : 消息状态
	 * @Date : 17:32 2017/11/14
	 *
	 */
	public static final class MESSAGE_STATE {
		/**
		 * 已读
		 */
		public static String read = "1";
		/**
		 * 未读
		 */
		public static String unRead = "0";

	}

	/**
	 * @Author : Victor
	 * @Description : 人员类别
	 * @Param :
	 * @Date : 9:16 2017/11/15
	 *
	 */
	public static final class USER_TYPE {
		/**
		 * 学生：1
		 */
		public static String student = "1";
		/**
		 * 老师：2
		 */
		public static String teacher = "2";
		/**
		 * 企业单位：3
		 */
		public static String unit = "3";
	}

	public static final class MANAGER_TYPE {
		public static String oneLevelManager = "1";
		public static String twoLevelManager = "2";
	}


	/**
	 * web 返回app状态码
	 * @author lizhen
	 *
	 */
	public static final class WebControllerCode {
		public final static  String STATUS_CODE_200 = "200";//成功
        public final static  String STATUS_CODE_201 = "201";//请求参数有误
        public final static  String STATUS_CODE_202 = "202";//不成功
		public final static  String STATUS_CODE_400 = "400";//（错误请求） 服务器不理解请求的语法
		public final static  String STATUS_CODE_401 = "401";//（身份验证错误） 此页要求授权
		public final static  String STATUS_CODE_500 = "500";//（身份验证错误） 此页要求授权
	}


    public static final class WebControllerResult {
        public final static  String CODE = "code";//返回状态码key
        public final static  String DATA = "data";//返回成功数据
        public final static  String ERROR = "error";//返回错误数据

    }

	public static final class receiptType {
		public final static  String ALL_RECEIPTS = "1";//全部收款
		public final static  String PARTIAL_RECEIPTS = "2";//部分收款
		public final static  String NO_RECEIPTS = "3";//未收款

	}

	/**
	 * 请求方法类型
	 * @author victor
	 *
	 */
	public final static class REQUEST_METHOD{
		/** post **/
		public final static String POST = "post";
		/** get **/
		public final static String GET = "get";

	}

	//=============================wx=======================================================================
	public static final String sys_domian="sys_domian";

	public static final String wx_AppId="wx_AppId";

	public static final String wx_MchId="wx_MchId";

	public static final String wx_AppSecret="wx_AppSecret";

	public static final String wx_pay_body = "wx_pay_body";

	public static final String wx_ApiSecret="wx_ApiSecret";

	//=============================ali=======================================================================
	public static final String ali_accessKeyId="ali_accessKeyId";

	public static final String ali_accessKeySecret="ali_accessKeySecret";

	public static final String ali_sms_sign_name="ali_sms_sign_name";

	public static final String ali_sms_regist_tpl_code="ali_sms_regist_tpl_code";

	//=============================wxpay=======================================================================

	public static final String wxpay_CourseOrder_notifyUrl="wxpay_CourseOrder_notifyUrl";

	public static final String wxpay_VipOrder_notifyUrl="wxpay_VipOrder_notifyUrl";

	public static final String wxpay_ChannelOrder_notifyUrl="wxpay_ChannelOrder_notifyUrl";

//=============================biz=======================================================================

	public static final String biz_channel_share_points="biz_channel_share_points";

	public static final String biz_course_order_view_count="biz_course_order_view_count";

	public static final String biz_course_extern_percentageRate="biz_course_extern_percentageRate";

	public static final String biz_member_sign_points="biz_member_sign_points";

	public static final String biz_member_index_share_points="biz_member_index_share_points";

	public static final String biz_member_vip_price="biz_member_vip_price";

	public static final String biz_order_auto_close_time="biz_order_auto_close_time";

	public static final String biz_course_wx_pay_body = "biz_course_wx_pay_body";

	public static final String biz_channel_wx_pay_body = "biz_channel_wx_pay_body";

	public static final String biz_vip_wx_pay_body = "biz_vip_wx_pay_body";


	/**
	 * @Author : Victor
	 * @Description : 序列码 code
	 * @Param :
	 * @Date : 14:36 2018/5/4
	 *
	 */
	public final static class SEQUENCE_CODE{
		/** 供应商编码 **/
		public final static String SEQ_SUPPLIER_CODE = "seq_supplier_code";

	}

}
